<html>
    <head>
        <title>webrtc demo</title>
    </head>
    <h1>webrtc demo</h1>

    <div id="button">
        <input id="roomId" type="text" placeholder="请输入房间号" maxlength="40" />
        <button id="joinRoom" type="button">加入房间</button>
        <button id="leaveRoom" type="button">离开房间</button>
    </div>
    <div id="videos">
        <video id="localVideo" autoplay muted playsinline>本地窗口</video>
        <video id="remoteVideo" autoplay playsinline>远端窗口</video>
    </div>

    <script src="js/main.js"></script>
</html>